<?php

require_once 'configs/setup.php';
require_once BUSINESS_DIR . "query_catalog.php";
require_once BUSINESS_DIR . "database_handler.php";


$login = $_REQUEST['login'];
$password = $_REQUEST['password'];
//$retype_password = $_REQUEST['retype_password'];
$password_hint = $_REQUEST['password_hint'];

$cpf = $_REQUEST['cpf'];
$nome = $_REQUEST['nome'];
$email = $_REQUEST['email'];
$telefone = $_REQUEST['telefone'];

// FK_IDSTATUS -> Codigo para "PENDENTE"
$fk_idstatus = 1;

$fk_login = $login;

QueryCatalog::addNewUser($login, $password, $password_hint, $cpf, $nome, $email, $telefone, $fk_login, $fk_idstatus);

?>
